package com.zqxq.lottery.entity.po.order;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("user_order_bet_bop")
public class UserOrderBetBopPO {

    @TableId
    private Long id;
    private Long user_id;//用户ID
    private Long order_id;//订单ID
    private Long lottery_id;//彩种ID
    private String bet_info;//投注信息[{"redNum":0,"period":201812274101},{"redNum":1,"period":201812274102}]
    private BigDecimal sp;//sp值
    private BigDecimal expect_bonus;//预计奖金
    private Integer bet_times;//倍投
    private BigDecimal prize;//中奖金额
    private BigDecimal after_tax;//税后金额
    private Integer status;//状态 0：待付款；1：待出票；2：待开奖；3：未中奖；4：已中奖【人工审核】；5：待领奖；6：已领奖；7：取消，8：支付中
    private Date create_time;//创建时间
    private Date update_time;
}
